const offerInfoSole = resolve => require(['@/containers/supplierManagementSole/basicInfo/offerinfoSole'], resolve);

//采购管理
const stonePurchaseSoleList = resolve => require(['@/containers/supplierManagementSole/purchasing/index.vue'], resolve);
const stonePurchaseSoleDetail = resolve => require(['@/containers/supplierManagementSole/purchasing/detail/index.vue'], resolve);
const stonePurchaseSoleChange = resolve => require(['@/containers/supplierManagementSole/purchasing/edit/index.vue'], resolve);

//收料列表
const receiptList = resolve => require(['@/containers/supplierManagementSole/materials/receiptList'], resolve);
const receiptListDetail = resolve => require(['@/containers/supplierManagementSole/materials/receiptList/detail'], resolve);
//收料入库
const receiptStorage = resolve => require(['@/containers/supplierManagementSole/materials/receiptStorage'], resolve);
//退料单列表
const ReturnOrderList = resolve => require(['@/containers/supplierManagementSole/materials/ReturnOrderList'], resolve);
const ReturnOrderListDetail = resolve => require(['@/containers/supplierManagementSole/materials/ReturnOrderList/detail'], resolve);
const ReturnOrderListNew = resolve => require(['@/containers/supplierManagementSole/materials/ReturnOrderList/new'], resolve);
const ReturnOrderBarCode = resolve => require(['@/containers/supplierManagementSole/materials/ReturnOrderList/barCodeMsg'], resolve);
const ReturnOrderConfirm = resolve => require(['@/containers/supplierManagementSole/materials/ReturnOrderList/confirm'], resolve);

//质检商品信息
const qualityRecordSole = resolve => require(['@/containers/supplierManagementSole/qualityInspec/qualityRecordSole'], resolve);
const giveQualityListSole = resolve => require(['@/containers/supplierManagementSole/qualityInspec/giveQualityListSole'], resolve);
const giveQualityBarcodeDetailSole = resolve => require(['@/containers/supplierManagementSole/qualityInspec/giveQualityListSole/barcodeDetail'], resolve);
const qualityListSole = resolve => require(['@/containers/supplierManagementSole/qualityInspec/qualityListSole'], resolve);
const qualityBarcodeDetailSole = resolve => require(['@/containers/supplierManagementSole/qualityInspec/qualityListSole/barcodeDetail'], resolve);
const toLeadPropItemsSole = resolve => require(['@/containers/supplierManagementSole/qualityInspec/toLeadPropItems'], resolve);
const qualityReturnsListSole = resolve => require(['@/containers/supplierManagementSole/qualityInspec/qualityReturnsListSole'], resolve);
const qualityReturnsOrderDetail = resolve => require(['@/containers/supplierManagementSole/qualityInspec/qualityReturnsListSole/returnsOrderDetail'], resolve);
/* 发/退货管理 */
const balanceSole = resolve => require(['@/containers/supplierManagementSole/sendReturn/balance'], resolve);
const balanceSoleDetail = resolve => require(['@/containers/supplierManagementSole/sendReturn/balance/detail'], resolve);
const returnReceiveSole = resolve => require(['@/containers/supplierManagementSole/sendReturn/returnReceive'], resolve);
const deliveryGoodsSole = resolve => require(['@/containers/supplierManagementSole/sendReturn/deliveryGoods'], resolve);
const deliveryGoodsSoleDetail = resolve => require(['@/containers/supplierManagementSole/sendReturn/deliveryGoods/deliveryDetail'], resolve);
const beShippedSole = resolve => require(['@/containers/supplierManagementSole/sendReturn/beShipped'], resolve);
const beShippedSoleDetail = resolve => require(['@/containers/supplierManagementSole/sendReturn/beShipped/barcodeDetail'], resolve);


export default [
  // 供应商基本信息
  {
    path: 'offerInfoSole',
    name: 'offerInfoSole',
    module: 'supplierSole',
    className: '供应商基本信息',
    label: '供应商报价信息',
    component: offerInfoSole
  },
  // 采购管理
  {
      path: 'stonePurchaseSoleList',
      name: 'stonePurchaseSoleList',
      module: 'supplierSole',
      className: '采购管理',
      label: '采购订单',
      component: stonePurchaseSoleList
  },
  {
      path: 'stonePurchaseSoleDetail',
      name: 'stonePurchaseSoleDetail',
      module: 'supplierSole',
      unlist: true,
      className: '采购管理',
      label: '采购订单',
      generatedBy: 'stonePurchaseSoleList',
      component: stonePurchaseSoleDetail
  },
  {
      path: 'stonePurchaseSoleChange',
      name: 'stonePurchaseSoleChange',
      module: 'supplierSole',
      unlist: true,
      className: '采购管理',
      label: '采购订单',
      generatedBy: 'stonePurchaseSoleList',
      component: stonePurchaseSoleChange
  },
  // 质检商品信息
  // {
  //   path: 'qualityRecordSole',
  //   name: 'qualityRecordSole',
  //   module: 'supplierSole',
  //   className: '质检商品信息',
  //   label: '质检记录',
  //   component: qualityRecordSole
  // },
  // 送检列表
  {
    path: 'giveQualityListSole',
    name: 'giveQualityListSole',
    module: 'supplierSole',
    className: '质检商品信息',
    label: '送检列表',
    component: giveQualityListSole,
  },
  // 送检列表-条码详情
  {
    path: 'giveQualityBarcodeDetailSole',
    name: 'giveQualityBarcodeDetailSole',
    module: 'supplierSole',
    className: '质检商品信息',
    label: '条码详情',
    unlist: true,
    component: giveQualityBarcodeDetailSole
  },
  // 质检列表
  {
    path: 'qualityListSole',
    name: 'qualityListSole',
    module: 'supplierSole',
    className: '质检商品信息',
    label: '质检列表',
    component: qualityListSole,
  },
  // 质检列表-条码详情
  {
    path: 'qualityBarcodeDetailSole',
    name: 'qualityBarcodeDetailSole',
    module: 'supplierSole',
    className: '质检商品信息',
    label: '条码详情',
    unlist: true,
    component: qualityBarcodeDetailSole,
  },
  // 质检退货列表
  {
    path: 'qualityReturnsListSole',
    name: 'qualityReturnsListSole',
    module: 'supplierSole',
    className: '质检商品信息',
    label: '质检退货列表',
    component: qualityReturnsListSole,
  },
  // 质检退货单详情
  {
    path: 'qualityReturnsOrderDetail',
    name: 'qualityReturnsOrderDetail',
    module: 'supplierSole',
    className: '质检商品信息',
    label: '退货单详情',
    unlist: true,
    component: qualityReturnsOrderDetail,
  },
  // 打印条码
  {
    path: 'toLeadPropItemsSole',
    name: 'toLeadPropItemsSole',
    module: 'supplierSole',
    className: '质检商品信息',
    label: '打印条码',
    component: toLeadPropItemsSole,
  },
  // 物料管理
  {
    path: 'receiptList',
    name: 'receiptList',
    module: 'supplierSole',
    className: '物料管理',
    label: '收料列表',
    component: receiptList
  },
	{
		path: 'receiptListDetail',
		name: 'receiptListDetail',
		module: 'supplierSole',
		unlist: true,
		className: '物料管理',
		label: '收料列表',
		generatedBy: 'receiptList',
		component: receiptListDetail,
	},
	{
	  path: 'receiptStorage',
	  name: 'receiptStorage',
	  module: 'supplierSole',
	  className: '物料管理',
	  label: '收料入库',
	  component: receiptStorage
	},
	{
		path: 'ReturnOrderList',
		name: 'ReturnOrderList',
		module: 'supplierSole',
		className: '物料管理',
		label: '退料单列表',
		component: ReturnOrderList
	},
	{
		path: 'ReturnOrderListDetail',
		name: 'ReturnOrderListDetail',
		module: 'supplierSole',
		unlist: true,
		className: '物料管理',
		label: '退料单列表',
		generatedBy: 'ReturnOrderList',
		component: ReturnOrderListDetail,
	},
	{
		path: 'ReturnOrderListNew',
		name: 'ReturnOrderListNew',
		module: 'supplierSole',
		unlist: true,
		className: '物料管理',
		label: '退料单列表',
		generatedBy: 'ReturnOrderList',
		component: ReturnOrderListNew,
	},
	{
		path: 'ReturnOrderBarCode',
		name: 'ReturnOrderBarCode',
		module: 'supplierSole',
		unlist: true,
		className: '物料管理',
		label: '退料单列表',
		generatedBy: 'ReturnOrderList',
		component: ReturnOrderBarCode,
	},
	{
		path: 'ReturnOrderConfirm',
		name: 'ReturnOrderConfirm',
		module: 'supplierSole',
		unlist: true,
		className: '物料管理',
		label: '退料单列表',
		generatedBy: 'ReturnOrderList',
		component: ReturnOrderConfirm,
	},
	//发/退货管理
	{
		path: 'returnReceiveSole',
		name: 'returnReceiveSole',
		module: 'supplierSole',
		className: '发/退货管理',
		label: '退货接收列表',
		component: returnReceiveSole
	},
  {
  	path: 'deliveryGoodsSole',
  	name: 'deliveryGoodsSole',
  	module: 'supplierSole',
  	className: '发/退货管理',
  	label: '发货列表',
  	component: deliveryGoodsSole
  },
  {
  	path: 'deliveryGoodsSoleDetail',
  	name: 'deliveryGoodsSoleDetail',
  	module: 'supplierSole',
  	unlist: true,
  	className: '发/退货管理',
  	label: '发货列表',
  	generatedBy: 'deliveryGoodsSole',
  	component: deliveryGoodsSoleDetail,
  },
  {
  	path: 'beShippedSole',
  	name: 'beShippedSole',
  	module: 'supplierSole',
  	className: '发/退货管理',
  	label: '待发货列表',
  	component: beShippedSole
  },
  {
  	path: 'beShippedSoleDetail',
  	name: 'beShippedSoleDetail',
  	module: 'supplierSole',
  	unlist: true,
  	className: '发/退货管理',
  	label: '待发货列表',
  	generatedBy: 'beShippedSole',
  	component: beShippedSoleDetail,
  },
	{
		path: 'balanceSole',
		name: 'balanceSole',
		module: 'supplierSole',
		className: '发/退货管理',
		label: '结算单列表',
		component: balanceSole
	},
	{
		path: 'balanceSoleDetail',
		name: 'balanceSoleDetail',
		module: 'supplierSole',
		unlist: true,
		className: '发/退货管理',
		label: '结算单列表',
		generatedBy: 'balanceSole',
		component: balanceSoleDetail,
	},
	
	
]
